package com.qf.shopping.service.impl;

import com.qf.shopping.mapper.message.MessageSendLogMapper;
import com.qf.shopping.pojo.message.MessageSendLog;
import com.qf.shopping.service.IMessageSendLogService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author 82024
 * @Date 2019/4/19 23:19
 * @Version 1.0
 * @Description
 **/
public class MessageSendLogServiceImpl implements IMessageSendLogService {
    
    @Autowired
    private MessageSendLogMapper messageSendLogMapper = null;
    
    @Override
    public void addMessageSendLog(MessageSendLog messageSendLog) {
        messageSendLogMapper.addMessageSendLog(messageSendLog);
    }

    @Override
    public MessageSendLog findMessageSendLogById(Long id) {
        return messageSendLogMapper.findMessageSendLogById(id);
    }

    @Override
    public List<MessageSendLog> findAllMessageSendLog() {
        return messageSendLogMapper.findAllMessageSendLog();
    }
}
